add check constraint by SQL Script